package com.zigin.healthcard.util;


import java.util.HashMap;
import java.util.Map;

/**
 * 字典工具类
 *
 * @author mgw1986
 * @version V1.0
 * @Title: Constant
 * @date 2017/11/17 17:34
 */
public class Constant {
    public final static String DEFAULT_MESSAGE = "抱歉，发生未知错误,请截图并联系客服!";
    //异常
    public final static String VALI_APP_TOKEN_MSG = "接口调用凭证校验未通过";
    public final static String VALI_WECHAT_CODE_MSG = "微信身份码未通过校验";
    public static final String VALI_NAME_MSG = "姓名未通过校验";
    public static final String VALI_GENDER_MSG = "性别未通过校验";
    public static final String VALI_NATION_MSG = "民族校验未通过";
    public static final String VALI_BIRTHDAY_MSG = "出生年月校验未通过";
    public static final String VALI_ID_NUMBER_MSG = "证件号码校验未通过";
    public static final String VALI_ID_TYPE_MSG = "证件类型校验未通过";
    public static final String VALI_APPNT_IDNO_ERR_MSG = "提交的投保人身份证号不正确";
    public static final String VALI_PHONE1_MSG = "联系方式1校验未通过";
    //freemarker 模版名
    public static final String TEMPLATE_INPUT_NAME = "template/input_data.ftl";
    //微信支付信息
    //认证访问地址
    public static final String AUTHORIZE_URL = "https://open.weixin.qq.com/connect/oauth2/authorize";
    //AUTHORIZE回调地址
    public static final String AUTH_REDIRECT_URL = "http://www.fmhealth.com.cn/wxPay/codeUrl";
    //获取access_url地址
    public static final String ACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token";
    //统一下单地址
    public static final String UNIFIEDORDER_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
    //回调地址
    public static final String NOTIFY_URL = "http://www.fmhealth.com.cn/wxPay/payNotify";
    // 应用id
    public static final String APP_ID = "wx37022d15276434a7";
    // 应用密钥
    public static final String APP_SECRET = "d8a48ec659933069095c5ce3080668c4";
    //商户编号
    public static final String MACH_ID = "1228919802";
    // 权限密钥
    public static final String MACH_KEY = "Shanghaifumeijiankang12345qwerta";
    //证书路径
    public static final String CERT_PATH = "cert/apiclient_cert.p12";
    //openid 名称
    public static final String OPEN_ID_NAME = "openid";
    //订单名称
    public static final String ORDER_NAME = "ymbx";
    //SUCCESS
    public static final String SUCCESS = "SUCCESS";
    //FAIL
    public static final String FAIL = "FAIL";
    //验证码
    public static final String VALID_CODE = "VALID_CODE";
    // 推广人
    public static final String PROMOTER_ID = "PROMOTER_ID";

}
